<template>
  <div class="profile">
    <nav-bar class="nav-bar">
      <div slot="center">个人中心</div>
    </nav-bar>
    <div class="login">
      <img src="~assets/img/profile/avatar.svg"/>
      <div class="rester">
        <p>登陆/注册</p>
        <img src="~assets/img/profile/phone.svg"/>
        <span>暂无绑定手机号</span>
      </div>
      <div><img src="~assets/img/common/arrow-left.svg"/></div>
    </div>
    <div class="message">
      <div>
        <p><span>0.00</span>元</p>
        <p>我的余额</p>
      </div>
      <div>
        <p><span>0</span>元</p>
        <p>我的优惠</p>
      </div>
      <div>
        <p><span>0</span>分</p>
        <p>我的积分</p>
      </div>
    </div>
    <div class="member">
      <div>
        <img src="~assets/img/profile/message.svg">
        <p>我的消息</p>
      </div>
      <div>
        <img src="~assets/img/profile/pointer.svg">
        <p>积分商城</p>
      </div>
        <div>
          <img src="~assets/img/profile/vip.svg">
          <p>会员卡</p>
        </div>
    </div>
    <div class="cart">
      <div>
        <img src="~assets/img/profile/cart.svg">
        <p>我的购物车</p>
      </div>
      <div>
        <img src="~assets/img/profile/shopping.svg">
        <p>下载购物APP</p>
      </div>
    </div>
  </div>
</template>

<script>
import NavBar from 'components/common/navbar/NavBar'
export default {
  name: "Profile",
  components: {
    NavBar
  }
}
</script>

<style scoped>
.profile{
  background-color: #eee;
  height: 100vh;
}
.nav-bar{
  background-color:#ff8198;
  color: #fff;
}
.login{
  display: flex;
  justify-content: space-between;
  background: #ff8198;
  align-items: center;
}
.login img{
  width: 80px;
  height: 80px;
  border-radius: 50%;
}
.login .rester{
  color: white;
  text-align: center;
}
.rester img{
  width: 20px;
  height: 20px;
}
.login div img{
  width: 20px;
  height: 20px;
}
.message{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.message  div{
  width: 33%;
  height: 120px;
  text-align: center;
  background: white;
  padding-top: 45px;
}
.message div p{
  color: #999494;
}
.message div p span{
  color: #ff8198;
  font-weight: bold;
}
.member{
  margin-top: 30px;
}
.member div{
  background: white;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
}
.member div img{
  margin-top: 5px;
  width: 30px;
  height: 30px;
}
.member div p{
  padding-left: 10px;
  color: #a5a4a4;
}
.cart{
  margin-top: 30px;
}
.cart div{
  background: white;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
}
.cart div img{
  width: 30px;
  height: 30px;
}
.cart div p{
  padding-left: 10px;
  color: #a5a4a4;
}
</style>
